package com.bridgeQQ.client.events
{
	import flash.events.Event;
	
	public class SendEvent extends Event
	{
		public static const  SUCCESS:String = "success";
		
		public static const  ERROR:String = "error";
	
		public static const  TIME_OUT:String = "timeout";
		
		private var _data:Object;
		
		private var _recevivedID:String;
		
		public function SendEvent(type:String, sendID:String)
		{
			super(type);
			this._data = sendID;
		}
		
		public function get sendID():String
		{
			return _data as String;
		}
		
		public function set recevivedID(value:String):void
		{
			_recevivedID =  value;
		}
		
		public function get recevivedID():String
		{
			return _recevivedID;
		}
		
		public override function clone():Event
		{
			var newEvent:SendEvent  = new SendEvent(this.type, this.sendID);
			newEvent.recevivedID = this.recevivedID;
			return newEvent;
		}
	}
}